package com.zzxx.wechat.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzxx.wechat.entity.ArcteryxSpu;
import com.zzxx.wechat.mapper.ArcteryxSpuMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * arctery-spu表 服务实现类
 * </p>
 *
 * @author zzxx
 * @since 2024-04-10
 */
@Service
public class ArcteryxSpuDao extends ServiceImpl<ArcteryxSpuMapper, ArcteryxSpu> implements IService<ArcteryxSpu> {


    public ArcteryxSpu queryBySpuId(String spkId) {
        return lambdaQuery()
                .eq(ArcteryxSpu::getSpuId, spkId)
                .one();
    }
}
